<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="../react.development.js"></script>
    <script src="../react-dom.development.js"></script>
  </head>
  <body>
    <div id="root"><p>sada</p></div>
  </body>

  <script>
    const div = React.createElement("div", { id: "reactDOM" }, "我是个div");
    const root = ReactDOM.createRoot(document.getElementById("root"));
    root.render(div);
  </script>
</html>
